package com.example.ex5_springboot.services;

import com.example.ex5_springboot.mappers.AdminLoginMapper;
import com.example.ex5_springboot.pojo.AdminLogin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminLoginServiceImpl implements AdminLoginService{
    @Autowired
    private AdminLoginMapper adminLoginMapper;
    @Override
    public AdminLogin getAdminInfoById(int id) {
        return adminLoginMapper.getAdminInfoById(id);
    }
}
